package com.ruoyi.passengers.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 第三方账号
对象 other_accounts
 * 
 * @author ruoyi
 * @date 2025-08-17
 */
public class OtherAccounts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 第三方账号ID */
    private Long otherAccountsId;

    /** 第三方账号账号 */
    @Excel(name = "第三方账号账号")
    private String otherAccountsAccount;

    /** 第三方账号密码 */
    @Excel(name = "第三方账号密码")
    private String otherAccountsPassword;

    /** 第三方账号类型（qq，微信等） */
    @Excel(name = "第三方账号类型", readConverterExp = "q=q，微信等")
    private String otherAccountsType;

    /** 乘客ID */
    @Excel(name = "乘客ID")
    private Long passengersId;

    public void setOtherAccountsId(Long otherAccountsId) 
    {
        this.otherAccountsId = otherAccountsId;
    }

    public Long getOtherAccountsId() 
    {
        return otherAccountsId;
    }

    public void setOtherAccountsAccount(String otherAccountsAccount) 
    {
        this.otherAccountsAccount = otherAccountsAccount;
    }

    public String getOtherAccountsAccount() 
    {
        return otherAccountsAccount;
    }

    public void setOtherAccountsPassword(String otherAccountsPassword) 
    {
        this.otherAccountsPassword = otherAccountsPassword;
    }

    public String getOtherAccountsPassword() 
    {
        return otherAccountsPassword;
    }

    public void setOtherAccountsType(String otherAccountsType) 
    {
        this.otherAccountsType = otherAccountsType;
    }

    public String getOtherAccountsType() 
    {
        return otherAccountsType;
    }

    public void setPassengersId(Long passengersId) 
    {
        this.passengersId = passengersId;
    }

    public Long getPassengersId() 
    {
        return passengersId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("otherAccountsId", getOtherAccountsId())
            .append("otherAccountsAccount", getOtherAccountsAccount())
            .append("otherAccountsPassword", getOtherAccountsPassword())
            .append("otherAccountsType", getOtherAccountsType())
            .append("passengersId", getPassengersId())
            .toString();
    }
}
